package hsb.ruoyi.generator.config;


import javax.inject.Singleton;

/**
 * 读取代码生成相关配置
 *
 * @author ruoyi
 */
@Singleton
public class GenConfig {
    /**
     * 作者
     */
    // @ConfigProperty(name = "gen.author")
    public static String author = "ruoyi";

    /**
     * 生成包路径
     */
    //@ConfigProperty(name = "gen.packageName")
    public static String packageName = "com.ruoyi.system";

    /**
     * 自动去除表前缀，默认是false
     */
    //@ConfigProperty(name = "gen.autoRemovePre")
    public static boolean autoRemovePre = false;

    /**
     * 表前缀(类名不会包含表前缀)
     */
    //@ConfigProperty(name = "gen.tablePrefix")
    public static String tablePrefix = "sys_";


    public static String getAuthor() {
        return author;
    }

    public static String getPackageName() {
        return packageName;
    }

    public static boolean getAutoRemovePre() {
        return autoRemovePre;
    }

    public static String getTablePrefix() {
        return tablePrefix;
    }


}
